IAxis.Power 方法
启用或停用轴的运作。
命名空间:IntervalZero.KINGSTAR.Base.Class组合: IntervalZero.KINGSTAR.Base.Class (于 IntervalZero.KINGSTAR.Base.dll) 版本:4.4.0.0
语法
IKsCommand Power(
bool enable,
bool enablePositive,
bool enableNegative
)
Function Power(
enable As Boolean,
enablePositive As Boolean,
enableNegative As Boolean
) As IKsCommand
参数
enable
型别:bool
true:启用轴;false:停用轴。
enablePositive
型别:bool
true:使轴朝正方向移动。
enableNegative
型别:bool
true:使轴朝负方向移动。
回传值
型别:IKsCommand
回传运作的状态。
备注
此函式可用来启动或停止伺服马达并防止轴超程。
参见